package com.lysj.food.food.controller;

import com.lysj.admin.utils.spring.foundation.base.BaseController;
import com.lysj.food.food.domain.FoodType;
import com.lysj.food.food.service.FoodTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author Created by wtl on 2019-03-22 15:36:17
 * @description 菜品类型控制层
 */
@Slf4j
@RestController
@RequestMapping("/food/food_type")
public class FoodTypeController extends BaseController<FoodType> {

    @Resource
    private FoodTypeService foodTypeService;

    @Override
    public FoodTypeService getService() {
        return foodTypeService;
    }

}
